package cn.rui.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 图片分类
 * @author 徽州大都督
 * @date 2020/8/16
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("image_category")
public class ImageCategory implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer cid;

    private String categoryName;

    @TableLogic
    private Integer deleted;

    @TableField(exist = false)
    private Integer num;

    @TableField(exist = false)
    private Integer sum;

}
